﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Way.Contract.MVC;
using Way.Contract.Data.ControllerData;
using Way.EAP.DataAccess.Regulation;

namespace Way.Bus.WMS.ST.Controllers
{
    public class OfficeWorkerController:Way.Bus.Controllers.OfficeWorkerController
    {
        protected override void OnGetWhereing(IModel m, List<Way.EAP.DataAccess.Regulation.SQLWhere> where, loadItem item)
        {
            base.OnGetWhereing(m, where, item);
            if (item.selectTag == null)
            {
                SQLWhere w = new SQLWhere();
                w.ColumnName = "STAY5";
                w.Symbol = "is";
                w.Value = "null";
                w.Relation = "and";
                where.Add(w);
            }
        }
    }
}
